﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Cstudy.MODEL
{
    /// <summary>
    /// 附件
    /// </summary>
    public class attachment
    {
        private int fileid;
        /// <summary>
        /// 附件ID
        /// </summary>
        public int fileID
        {
            get { return fileid; }
            set { fileid = value; }
        }
        private int resid;
        /// <summary>
        /// 所属资源ID
        /// </summary>
        public int ResID
        {
            get { return resid; }
            set { resid = value; }
        }
        private string name;
        /// <summary>
        /// 附件名
        /// </summary>
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        private string descscription;
        /// <summary>
        /// 附件描述
        /// </summary>
        public string Descscription
        {
            get { return descscription; }
            set { descscription = value; }
        }
        private string url;
        /// <summary>
        /// 附件地址
        /// </summary>
        public string Url
        {
            get { return url; }
            set { url = value; }
        }
        private float size;
        /// <summary>
        /// 附件大小
        /// </summary>
        public float Size
        {
            get { return size; }
            set { size = value; }
        }
    }
}
